package com.ruoyi.system.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * @Description: 站点相关的气象因子
 * @Author:let_free
 * @Date:2024/6/3/16:32
 **/
@Data
public class Factor {
    @TableId(type = IdType.AUTO)
    private Integer factorId;
    @Excel(name = "站点编号")
    private String SId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "测量时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //        六分钟平均气温
    @TableField(value = "tem")
    @Excel(name = "站点气温")
    private Double tem;
    //    降水量
    @Excel(name="站点降水量")
    private Double v50029;
    @Excel(name="站点风速")
    private Double PRS;
    @Excel(name="站点湿度")
    private Double RHU;
    @Excel(name="站点风向")
    private Double WIN_D_Avg_2mi;
    @Excel(name="站点平均风速")
    private Double WIN_S_Avg_2mi;
    @TableField(exist = false)
    @Excel(name = "站点纬度")
    private String latitude;
    @TableField(exist = false)
    @Excel(name = "站点经度")
    private String longitude;
    @TableField(exist = false)
    @Excel(name = "站点名称")
    private String stationName;
    @TableField(exist = false)
    @Excel(name = "站点等级", readConverterExp = "1=国家站点,0=区域站点")
    private Integer stationLevel;
}
